package cn.wolfcode.luowowo.util;

import cn.wolfcode.luowowo.domain.Destination;
import cn.wolfcode.luowowo.service.IDestinationService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public class GetToast {

    public static List<Destination> getToastByDestId(String id, IDestinationService service) {
        List<Destination> toasts = service.getToast(id);
        return toasts;
    }

}
